XdsObjects Help file
XdsObjects Namespace / XdsDocumentViewer Class / Display Method / Display(Byte[],String,String) Method
The document as a byte array
The MimeType of the document
The styleSheet to use (if needed)



In This Topic
    Display(Byte[],String,String) Method
    In This Topic
    Display a document with a defined MimeType and StyleSheet
    Syntax
    Public Overloads Sub Display( _
       ByVal Data() As Byte, _
       ByVal MimeType As String, _
       ByVal StyleSheet As String _
    ) 
    Dim instance As XdsDocumentViewer
    Dim Data() As Byte
    Dim MimeType As String
    Dim StyleSheet As String
     
    instance.Display(Data, MimeType, StyleSheet)
    public void Display( 
       byte[] Data,
       string MimeType,
       string StyleSheet
    )
    public:
    void Display( 
       array<byte>^ Data,
       String^ MimeType,
       String^ StyleSheet
    ) 

    Parameters

    Data
    The document as a byte array
    MimeType
    The MimeType of the document
    StyleSheet
    The styleSheet to use (if needed)
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also